home *** CD-ROM | disk | FTP | other *** search
/ Aminet 19 / Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso / Aminet / comm / tcp / atcp43serppp.readme < prev    next >
Text File  |  1997-05-03  |  8KB  |  191 lines

  1. Short:    Amitcp v4.3 SeriaLPPP Scripts'n'setup.
  2. Author:   Booze@Generation.NET <Sylvain Bourcier>
  3. Uploader: Booze@Generation.NET <Sylvain Bourcier>
  4. Version:  1.0
  5. Type:     comm/tcp
  6. Requires: Amitcp v4.3+, a PPP device, a modem, a provider, ARexx.
  7.  
  8.  
  9. THESE AMITCP V4.3 SERIALPPP SCRIPTS WILL BE OF NO USE TO YOU IF YOU DO NOT
  10. UNDERSTAND AMIGADOS SCRIPTS, AND OF LIMITED INTEREST IF YOU'VE NEVER USED
  11. AREXX.
  12.  
  13.  
  14. SHORT INTRO
  15.  
  16.  
  17. When one of my friends started to make money on installing Amitcp,
  18. I decided to take a look at what he had set-up.  The result, more
  19. powerful and more flexible scripts for use w/ Amitcp and serial ppp
  20. connections.
  21.  
  22. You will need to have a look at most of the included files I'm afraid,
  23. there are numerous var=xxx statements that can be adjusted to fit your
  24. needs.  Although these scripts are fairly general, you'll probably have
  25. something to modify...
  26.  
  27.  
  28. SCRIPTS DESCRIPTION
  29.  
  30.  
  31. $VER: Startnet 3.2 (09.03.97)
  32. $Id:  Startnet,v 3.2 1997/03/07 DaddyB@@ze $
  33.  
  34.  - Looks for Amitcp's PORT to determine if Amitcp is already running
  35.    instead of looking for the library - the lib could be there even if
  36.    Amitcp wasn't!
  37.  
  38.  - This startnet will also execute Amitcp:ssrx/Parsedb.ssrx if it exists.
  39.    This is an ARexx script that is used to convert the files db/GROUP.txt
  40.    and db/PASSWD.txt to remove TABS.  The converted files will replace the
  41.    normal db/group and db/passwd files - I use it to be able to align all
  42.    the fields, using tabs, when editing large databases...
  43.  
  44.  Parameters:
  45.  
  46.  1 - DEBUG/S for debug mode - debug mode will also set up a CON: window,
  47.      and the debug level to 7 for Amitcp to use.  This is important since
  48.      I set con=NIL: in the config file.  This will also cause startnet to
  49.      try to add ".debug" to the provider configuration file so you can have
  50.      2 configs per provider...
  51.  
  52.  2 - SRV/S to load-up the internet server on start-up.
  53.  
  54.  3 - PROV is the name of your provider file, w/o the .conf extension, so
  55.      you can connect to any provider w/o having to rename files and so on.
  56.  
  57.      Ex: Amitcp:bin/startnet DEBUG Generation.net
  58.  
  59.      Will try to find Amitcp:providers/Generation.net.conf.debug, and fall
  60.      back to Amitcp:providers/Generation.net.conf when no specific debug
  61.      version of the provider configuration file can be found.
  62.  
  63.  
  64. $VER: Stopnet 3.2 (09.03.97)
  65. $Id:  Stopnet,v 3.2 1997/03/07 DaddyB@@ze $
  66.  
  67.  - Looks for Amitcp's PORT to determine if Amitcp is already running
  68.    instead of looking for the library - the lib could be there even if
  69.    Amitcp wasn't!
  70.  
  71.  - This is a more persistent stopnet script than the original one since
  72.    Amitcp has a tendency to hang around even if you tell it to quit...
  73.    Have a look at the script itself for more information.
  74.  
  75.  - Includes an OFFLINE PPP command, remove it if you use something else :)
  76.  
  77.  
  78. $VER: Serial_TCP 1.1 (09.03.97)
  79. $Id:  SeriaL TCP Dialer,v 1.1 1997/03/09 DaddyB@@ze $
  80.  
  81.  - A SeriaLPPP provider configuration file that uses ppp.device.  The main
  82.    dial script is in there now, so this is required...
  83.  
  84.  - You can configure the login parameters by editing the file, this is
  85.    also required:
  86.  
  87.     UPROMPT="username:"    /* Username login prompt, leave blank for manual login */
  88.     UNAME  ="myname"    /* The username you use for this provider */
  89.     PPROMPT="password#"    /* Password login prompt */
  90.     PASSWD ="mypasswd"    /* Your password */
  91.     LPROMPT="selection:"    /* Login mode prompt, leave blank if none */
  92.     LMODE  ="1"        /* Login mode to select PPP */
  93.  
  94.  - Here's what it does:
  95.  
  96.    It first calls Amitcp:ssrx/COMMANDSTATE.SSRX to try to get the modem to
  97.    command mode - if the modem is already online, CommandState will put it
  98.    in send/receive mode and return.
  99.  
  100.    When CommandState returns, it calls Amitcp:ssrx/DIAL.SSRX if the modem
  101.    wasn't online, otherwise it starts Amitcp right away to re-negociate the
  102.    ppp link, useful if you set your modem to ignore DTR and your provider
  103.    supports this.  Dial.ssrx will try to obtain a good quality connection,
  104.    and may refuse slow connects if you decide so - look at the Arexx
  105.    script.
  106.  
  107.    If the dial script failed to connect after numerous redials (default 30)
  108.    you'll be prompted to continue or abort (requires RexxReqTools).
  109.  
  110.    If a valid connection was established, it'll try to log you in and switch
  111.    to PPP mode, and then exits, so that Amitcp's BootpConfig can negociate
  112.    the link...
  113.  
  114.  
  115. $VER: CommandState.ssrx 1.1 (09.03.97)
  116. $Id:  CommandState.ssrx,v 1.1 1997/03/09 DaddyB@@ze $
  117.  
  118.  - Amitcp usually uses ENV:ModemInitString, but it's lenght is limited, so
  119.    this version of commandstate can be edited to supply a longer init string
  120.    if needed.
  121.  
  122.  - To put the modem to attention, handles all DTR settings (&d0/1/2):
  123.  
  124.      Ignore DTR:  If AT\n gets no response, modem is either off, or online;
  125.                   I assume it's online and return.
  126.  
  127.      Command DTR: If ATo1 doesn't return ERROR, modem was set to go to
  128.                   command mode on DTR toggle, and is now online, return.
  129.  
  130.      Track DTR:   AT\n got OK, ATo1\n got ERROR, we are now in command mode,
  131.                   initialize the modem and return.
  132.  
  133.  
  134. $VER: Dial.ssrx 1.1 (09.03.97)
  135. $Id:  Dial.ssrx,v 1.1 1997/03/09 DaddyB@@ze $
  136.  
  137.  - Handles dialing, connecting, and redials.  Will terminate with a connect
  138.    of acceptable speed, of when MAXREDIAL attempts have been made w/o success,
  139.    or if RETRY number of commands sent to the modem failed (ERROR).
  140.  
  141.     Set WaitForTimeout 60    /* Timeout in seconds for WAITFOR instructions */
  142.     Retry = 6        /* Number of tries on various modem commands */
  143.     MinBaud = '21000'    /* Minimum acceptable CONNECT rate */
  144.     RedialDelay = 10    /* Delay, in seconds, between redial attempts */
  145.     MaxRedial = 30        /* Maximum number of redial attempts */
  146.  
  147.    If you wish to use the Minimum Connect Speed feature, you will have to set
  148.    your modem to return proper results (CONNECT 26400/ARQ).
  149.  
  150.  
  151.  
  152.  
  153. Well, that's it - It's not much of a docs file, but there isn't much in there
  154. in the first place, just have a look at the scripts; this whole mess should
  155. be easier to understand than UUCP, don't worry ;-)
  156.  
  157. L8r, B@@ze...
  158.  
  159.  
  160. ============================= Archive contents =============================
  161.  
  162. Original  Packed Ratio    Date     Time    Name
  163. -------- ------- ----- --------- --------  -------------
  164.      948     472 50.2% 20-Mar-97 20:04:50  Amitcp43S.info
  165.     6086    2756 54.7% 23-Mar-97 13:15:52 +atcp43serppp.readme
  166.       96      94  2.0% 23-Mar-97 13:06:02 +atcpDebug
  167.      527     246 53.3% 20-Mar-97 20:04:52 +atcpDebug.info
  168.       90      88  2.2% 23-Mar-97 13:06:10 +atcpStart
  169.      516     234 54.6% 20-Mar-97 20:04:52 +atcpStart.info
  170.       97      97  0.0% 20-Mar-97 00:01:02 +atcpStop
  171.      514     290 43.5% 20-Mar-97 20:04:52 +atcpStop.info
  172.     3217    1508 53.1% 22-Mar-97 20:11:26 +startnet
  173.     1591     818 48.5% 22-Mar-97 20:56:06 +stopnet
  174.      436     291 33.2% 19-Mar-97 21:26:44 +AmiTCP.config
  175.      214     152 28.9% 20-Mar-97 19:49:02 +group
  176.      419     286 31.7% 19-Mar-97 20:15:42 +group.txt
  177.      194     111 42.7% 20-Mar-97 19:49:02 +passwd
  178.      413     247 40.1% 19-Mar-97 20:15:40 +passwd.txt
  179.      329     223 32.2% 20-Mar-97 20:00:46 +pppdial.scp
  180.      703     377 46.3% 19-Mar-97 23:56:06 +user-startnet
  181.     1895     511 73.0% 20-Mar-97 19:55:16 +user-stopnet
  182.     1410     305 78.3% 20-Mar-97 20:02:24 +amitcp.log
  183.     1397     358 74.3% 20-Mar-97 20:03:02 +ppp.log
  184.     3230    1532 52.5% 23-Mar-97 13:08:16 +SeriaLPPP.conf
  185.     3297    1569 52.4% 23-Mar-97 13:08:22 +SeriaLPPP.conf.debug
  186.     3248    1430 55.9% 23-Mar-97 12:58:04 +CommandState.ssrx
  187.     4069    1669 58.9% 20-Mar-97 19:46:34 +Dial.ssrx
  188.     2277     693 69.5% 13-Mar-97 00:47:06 +Parsedb.ssrx
  189. -------- ------- ----- --------- --------
  190.    37213   16357 56.0% 23-Mar-97 22:09:04   25 files
  191.